package com.his.model;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 梅津铧
 * @since 2022-03-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_schedule")
public class Schedule implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 排班id
     */
    @TableId(value = "schedule_id", type = IdType.AUTO)
    private Integer scheduleId;

    /**
     * 排班人员id
     */
    private Integer scheduleUserId;

    /**
     * 排班人员姓名
     */
    private String scheduleUserName;

    /**
     * 科室id
     */
    private Integer departmentId;

    /**
     * 诊室id
     */
    private Integer disagnosisId;

    /**
     * 排班时间
     */
    private String workTime;

    /**
     * 修改时间
     */
    private String createTime;

    /**
     * 修改人id
     */
    private Integer createPersonId;

    /*
     * 排班状态
     */
    private Integer scheduleState;

    /**
     * 逻辑删除
     */
    @TableLogic
    private Integer tbDeleted;
}
